<?php
/**
*Ham lay mot doan text theo ngon ngu hien tai
**/
function lang($text, $id = '')
{
	global $lang;
	if(trim($id) != '')
	{
		return "<label for='{$id}'>" . $lang[$text] . "</label>";
	}
	else
	{
		return $lang[$text];
	}
}